package ngat.oss.simulation;

/** A simple mutable implementation of weather prediction model.*/
public class BasicMutableWeatherModel implements WeatherModel {

    /** The weather snapshot.*/
    private WeatherSnapshot weather;

    /** Create a BasicMutableWeatherModel.*/
    public BasicMutableWeatherModel() {
	weather = new WeatherSnapshot();
    }

    /** Set the weather prediction for all times.*/
    public void setGood(boolean g) { weather.good = g; }

    /** Predict the weather at time.*/
    public WeatherSnapshot predictWeather(long time) {
	return weather;
    }


}
